package shanghaielectric_lib.Communication.Comm_Modbus;

/**
 * Created by 45000460 on 2017/11/13.
 */

public class Constants_modbus {
    public static  final int WRITE_START_ADDRESS=4000;//实际应该取4000，测试使用4100
    public static  final int READ_START_ADDRESS=0;//实际应该取0，测试使用4000
    public static  final int WRITE_SLAVE_ID=0xff;//实际应该取FF，测试使用7
    public static  final int PORT_DEFAULT_SPEED=9600;
    public static final int PACKAGE_1=7771;
    public static final int PACKAGE_2_5=7772;
    public static int  PACKAGE_TYPE=Constants_modbus.PACKAGE_1;
    public static boolean isSettingState=false;

    public static boolean isNETready=false;


}
